package com.gongjie.hosp;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author jiegong
 * @create 2021-11-23 9:33
 */
@SpringBootApplication
// 配置了 就能扫描到另一个模块中com.gongjie包下的结构
@ComponentScan(basePackages = "com.gongjie")
public class ServiceHospApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceHospApplication.class, args);
    }
}
